home *** CD-ROM | disk | FTP | other *** search
/ Five Quarters Bundle / Edge: Five Quarters Bundle.iso / gamerunr / technote.qip / STACKER.TEC < prev    next >
Encoding:
Text File  |  1995-12-30  |  15.4 KB  |  369 lines

  1.  
  2.                         QEMM and Stacker
  3.  
  4.  Quarterdeck Technical Note #270              Filename: STACKER4.TEC
  5.  by Robert Gaustad                          CompuServe: STACK4.TEC
  6.  Last revised:  4/02/95                       Category: SW3
  7.  
  8.  Subject:  Using Stacker in all versions after 2.01 with QEMM.
  9.             Information on Stacker 4 appears first; Stacker versions
  10.             earlier than this are treated later in the note.
  11.  
  12.  Q. Is Stacker 4 compatible with QEMM?
  13.  
  14.  A. Yes.  In fact, since Stacker 4 loads itself before DOS on
  15.     MS-DOS 6 and Novell DOS 7 systems, Stacker 4 is quite
  16.     transparent to QEMM, which represents a tremendous benefit
  17.     over previous versions.
  18.  
  19.     Not only is Stacker 4 compatible with QEMM versions 7.5 and
  20.     later, but QEMM and Stacker 4 include technology jointly
  21.     developed by Quarterdeck and Stac Electronics, whereby Stacker
  22.     can greatly reduces the amount of conventional memory it uses;
  23.     thus Quarterdeck and Stac Electronics recommend that you take
  24.     advantage of this technology by upgrading to Stacker 4.
  25.  
  26.     The earliest versions of Stacker 4 did not include this
  27.     technology; a program to update Stacker feature is available
  28.     to all registered users of Stacker 4, either from Stac
  29.     Electronics or from Quarterdeck, under the filename S4UP.EXE.
  30.  
  31.     To get your copy of this file, join the CompuServe forum for
  32.     either Quarterdeck or Stac, by typing GO QUARTERDECK or GO
  33.     STAC at any CompuServe main prompt. Alternatively, using your
  34.     modem, call
  35.  
  36.     Stac Electronics BBS  (USA)    619 431-5956
  37.     Quarterdeck BBS        UK      01245-496943
  38.                            Ireland 353 1 2844381
  39.  
  40.     In order to obtain an upgrade to Stacker 4, or technical
  41.     assistance from Stac Electronics, call the numbers below.
  42.  
  43.     Stac Electronics Technical Support   (619) 431-6712 (voice)
  44.  
  45.     Once you have acquired this file and run the update, you may
  46.     activate the Stacker feature in this way:
  47.  
  48.     1. If you are currently inside Windows, exit it.
  49.     2. At the DOS prompt, change to the Stacker directory.
  50.     3. Type ED /I
  51.     4. Press Enter to insert a new line.
  52.     5. On this new line, type /QD
  53.     6. Press Ctrl-Z to exit the editor, and save your changes.
  54.     7. Restart your system to put the changes into effect.
  55.  
  56.  Q. I installed Stacker 4 on my system and after running Optimize
  57.     I found that I have 2K less available conventional memory.
  58.     Why is this?
  59.  
  60.  A. Stacker 4 now uses Novell's DOS Protected Mode Services
  61.     (DPMS), through the driver DPMS.EXE, to place most of the
  62.     Stacker program into extended memory.  When you install
  63.     Stacker 4 on your system, the DPMS.EXE driver will
  64.     automatically be placed into the CONFIG.SYS file directly
  65.     above the STACHIGH.SYS device driver line.  The use of the
  66.     DPMS.EXE driver will reduce the size of the Stacker program
  67.     from about 44K (more or less, depending upon your
  68.     configuration) to about 17K, and /QD line in STACKER.INI will
  69.     reduce Stacker's overhead still further. However, the DPMS.EXE
  70.     driver cannot be loaded into High RAM, so it must load into
  71.     conventional memory.  This will reduce your conventional
  72.     memory by about 2K,  but since your Stacker driver is now much
  73.     smaller, you should be able to load more programs into High
  74.     RAM. Further, the Stacker-QEMM technology mentioned above will
  75.     still further reduce the amount of memory that Stacker uses.
  76.  
  77.  Q. What if I don't want to use the DPMS.EXE driver?
  78.  
  79.  A. If you don't want to use the DPMS.EXE driver, you may remove
  80.     it from the CONFIG.SYS file.  Keep in mind that after removing
  81.     DPMS.EXE and rebooting, the Stacker driver will be about 44K
  82.     in size, so you may need to run Optimize after making this
  83.     change.
  84.  
  85.  Q. How do I go about removing the DPMS.EXE driver from the
  86.     CONFIG.SYS file?
  87.  
  88.  A. Stacker 4 has a new configuration program called CONFIG.EXE.
  89.     To see what changes you can make to Stacker's configuration,
  90.     simply type:
  91.  
  92.     CONFIG /?    <ENTER>
  93.  
  94.     Two of the listed options that will display are:
  95.  
  96.     /D       Adds Stacker DPMS driver to configuration files.
  97.     /D-      Removes Stacker DPMS driver from configuration files.
  98.  
  99.     If you want to remove the DPMS.EXE driver from the CONFIG.SYS
  100.     file, simply type:
  101.  
  102.     CONFIG /D-    <ENTER>
  103.  
  104.     You will then be asked if you are sure you want the CONFIG.SYS
  105.     changed. To save the changes made, press "Y".
  106.  
  107.  Q. Is there any other way I can reduce the size of the Stacker
  108.     driver?
  109.  
  110.  A. If you want to reduce the size of the Stacker driver without
  111.     using DPMS.EXE, you may still use the /EMS parameter to load
  112.     Stacker into expanded memory.  This is much less advantageous
  113.     than the /QD parameter, and is recommended neither by Stac
  114.     Electronics nor by Quarterdeck.
  115.  
  116.     If you add the /EMS parameter to the STACKER.INI file and you
  117.     want to use QEMM's STEALTH technology, you must add a DBF:2
  118.     parameter to the QEMM device line in the CONFIG.SYS file (this
  119.     can be done from ED, too).
  120.  
  121.  
  122.  Q. Is Stacker 4 compatible with QEMM's ST-DSPC.SYS (Stealth 
  123.     D*Space) driver?
  124.  
  125.  A. No.  Even though Stacker uses a file called DBLSPACE.BIN in
  126.     order to load before the CONFIG.SYS file loads, it is not
  127.     sufficiently similar to Microsoft's DoubleSpace or DriveSpace
  128.     programs to allow ST-DSPC.SYS to work.  Stealth D*Space will
  129.     only work with Microsoft's DOS 6 DoubleSpace or DriveSpace.
  130.  
  131.  Q. After I installed Stacker 4 over my DoubleSpace program, I
  132.     received the following message:
  133.  
  134.     ST-DBL: DBLSPACE is not in use, so there is no need to load
  135.     ST-DBL.SYS.
  136.  
  137.  A. The Stacker 4 install does not detect or remove QEMM's
  138.     ST-DBL.SYS or ST-DSPC.SYS drivers, one of which may be in your
  139.     CONFIG.SYS file if you were using Microsoft's disk compression
  140.     prior to installing Stacker.  Upon installation, Stacker
  141.     simply places a device line in the CONFIG.SYS file that reads
  142.  
  143.     DEVICE=C:\STACKER\STACHIGH.SYS
  144.  
  145.     at the end of the CONFIG.SYS file. If you were previously
  146.     loading the ST-DBL.SYS device driver with a multi-config
  147.     system, replace every ST-DBL.SYS device line with the
  148.     STACHIGH.SYS device line above.  If you are loading it from a
  149.     single boot CONFIG.SYS, simply replace the one incidence of
  150.     ST-DBL.SYS.
  151.  
  152.  Q. What are the different sizes of the Stacker driver?
  153.  
  154.  A. The size of the driver is strongly dependend on the size of
  155.     our hard drive and the size of Stacker's compressed clusters.
  156.     If you are using Stacker with DPMS.EXE and the /QD parameter,
  157.     the driver's resident size will be as little as 10K.  Without
  158.     the /QD parameter, the driver will typically be at least 8K
  159.     larger. If you are using Stacker's /EMS switch, the driver
  160.     should be at least 25K.  If you are not using DPMS.EXE or the
  161.     /EMS switch, the driver should be at least 44K.  The
  162.     initialization size, the size necessary to load the driver
  163.     before it shrinks down to its resident size, is 87K no matter
  164.     what parameters you use.
  165.  
  166.  Stacker 3.1 and earlier:
  167.  
  168.  As mentioned above, both Quarterdeck and Stac Electronics
  169.  strongly recommend upgrading to Stacker 4.
  170.  
  171.  This portion of this document discusses issues related to Stacker
  172.  versions 2.01 through 3.1.  Most references to Stacker will be
  173.  without a version number, except in those instances where it is
  174.  necessary to specify a particular version.
  175.  
  176.  Any version of Stacker 2.01 or later properly detects the
  177.  presence of QEMM, regardless of whether or not you install QEMM
  178.  first. If you install QEMM after installing Stacker and you run
  179.  OPTIMIZE, Stacker will detect OPTIMIZE and copy the pertinent
  180.  QEMM files from the COMPRESSED drive to the UNCOMPRESSED boot
  181.  drive.
  182.  
  183.  This copy process is usually successful, but if you do not have
  184.  enough room on your UNCOMPRESSED drive to hold the QEMM files, you
  185.  must use the Stacker utility STAC.COM to increase the size of the
  186.  UNCOMPRESSED drive and then either run OPTIMIZE again or manually
  187.  copy over the correct files to the drive.  The following is a list
  188.  of those files needed on the UNCOMPRESSED boot drive:
  189.  
  190.  QEMM386.SYS
  191.  OPTIMIZE.COM
  192.  LOADHI.SYS
  193.  TESTBIOS.COM
  194.  LOADHI.COM
  195.  BUFFERS.COM
  196.  RSTRCFG.SYS
  197.  WINHIRAM.VXD
  198.  WINSTLTH.VXD
  199.  MCA.ADL    (if a Micro Channel machine, typically an IBM PS/2)
  200.  
  201.  To increase the size of the UNCOMPRESSED partition, through
  202.  Stacker, type:
  203.  
  204.  STAC   <ENTER>
  205.  
  206.  at the DOS prompt.  For further information regarding the STAC.COM
  207.  program, please refer to your Stacker manual.
  208.  
  209.  
  210.  1.  IF YOU ARE NOT USING SSWAP.COM
  211.  
  212.  If you are NOT using the SSWAP.COM program to swap drive names,
  213.  then Stacker will not detect the presence of OPTIMIZE and copy the
  214.  correct files to the UNCOMPRESSED drive.  However, this should not
  215.  be a problem because you will most likely have already installed
  216.  QEMM on the UNCOMPRESSED drive.
  217.  
  218.  
  219.  2.  "/SYNC" PARAMETER WITH SSWAP.COM
  220.  
  221.  If you are using the SSWAP.COM program, in order to maintain
  222.  compatibility with OPTIMIZE, you MUST have the "/SYNC" parameter
  223.  at the end of the SSWAP.COM line.  The parameters differ slightly
  224.  between version 2.01 and 3.0.  Examples of the two versions are
  225.  below:
  226.  
  227.  DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC  (VERSION 2.01)
  228.  
  229.  DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC+ (VERSION 3.00)
  230.  
  231.  Stacker places the "/SYNC" parameter at the end of the SSWAP.COM
  232.  line during installation.  It is only discussed in this document
  233.  because sometimes it is accidentally deleted.
  234.  
  235.  The /"SYNC" parameter for Stacker 3.0 has a "+" sign at the end.
  236.  The "+" tells SSWAP.COM to AUTOMATICALLY update any changed files,
  237.  such as CONFIG.SYS, that are supposed to be on both drives.  If
  238.  you delete the "+" from the "/SYNC" parameter, SSWAP.COM will only
  239.  NOTIFY you of changes to files and ask if you want to synchronize
  240.  them.
  241.  
  242.  As of Stacker version 3.0 some compatibility issues with OPTIMIZE
  243.  remained unresolved.  These issues may require some
  244.  troubleshooting as well as editing of your CONFIG.SYS and
  245.  AUTOEXEC.BAT files.
  246.  
  247.  Stacker detects the presence of OPTIMIZE and allows you to run it
  248.  without having to first edit your CONFIG.SYS and AUTOEXEC.BAT
  249.  files. If you are using SSWAP.COM, it will detect when OPTIMIZE is
  250.  being run, make changes to the drive references in the CONFIG.SYS
  251.  and AUTOEXEC.BAT files, then prompt you to press a key to reboot
  252.  the machine again for OPTIMIZE.  This will occur during the
  253.  Detection and Final Phases of OPTIMIZE.  Don't worry if your
  254.  machine reboots itself several times during OPTIMIZE; this is
  255.  normal.
  256.  
  257.  If you are using DOS 5 with Stacker, and you run OPTIMIZE, the
  258.  number of buffers may disappear from the line in the AUTOEXEC.BAT
  259.  file or CONFIG.SYS file, depending on whether or not you are
  260.  loading DOS into the HMA.  To fix this problem, simply edit the
  261.  AUTOEXEC.BAT or CONFIG.SYS file after the OPTIMIZE process is
  262.  complete and add the number of buffers you want to the
  263.  C:\QEMM\LOADHI line in the AUTOEXEC.BAT or the BUFFERS= line in
  264.  the CONFIG.SYS file.
  265.  
  266.  
  267.  3.  "INCORRECT QEMM OPTIMIZE"
  268.  
  269.  Although it is not common, there may be times during OPTIMIZE when
  270.  you will receive the message:  "Incorrect QEMM Optimize".  To fix
  271.  this problem, you must edit your CONFIG.SYS file on the
  272.  UNCOMPRESSED drive and remove the line that reads:
  273.  
  274.  DEVICE=C:\QEMM\RSTRCFG.SYS **** OPTIMIZE D%etection %P%hase ****
  275.  
  276.  After removing the line and saving the file, reboot your machine
  277.  and re-run OPTIMIZE.
  278.  
  279.  4.  OPTIMIZE.EXC and SSWAP.COM
  280.  
  281.  Some earlier versions of QEMM LOADHI.SYS driver may have a
  282.  conflict with Stacker's SSWAP.COM.  Although Stacker now creates
  283.  an OPTIMIZE.EXC file which tells the OPTIMIZE program to NOT place
  284.  a LOADHI.SYS line in front of SSWAP.COM, you must make sure that a
  285.  LOADHI.SYS line is not ALREADY in front of SSWAP.COM.  If it is,
  286.  you must remove it before running OPTIMIZE.
  287.  
  288.  5.  STACKER WITH "/EMS" SWITCH
  289.  
  290.  Stacker can put its built-in cache into EMS, which reduces the
  291.  amount of conventional memory the STACKER.COM driver requires.
  292.  You can select this option when you are installing Stacker on your
  293.  hard drive.  If you are using the STEALTH option with QEMM,
  294.  however, you must make sure that you have a "DBF=2" parameter at
  295.  the end of the QEMM line.  This is because when STACKER.COM uses
  296.  EMS, it accesses the disk via the EMS Page Frame at the same time
  297.  that STEALTH is using the Page Frame.  "DBF=2" buffers all disk
  298.  read and writes that directly access the Page Frame and thus
  299.  prevents a conflict.
  300.  
  301.  Stacker 3.0 should automatically place this parameter at the end
  302.  of the QEMM line for you, but 2.01 does NOT.  If you are using
  303.  Stacker 2.01, you MUST add this parameter manually.  Below is a
  304.  sample QEMM device line with the "DBF=2" parameter:
  305.  
  306.  DEVICE=C:\QEMM\QEMM386.SYS RAM ST:M DBF=2
  307.  
  308.  6.  "LOADHI: This program took over INT 67!"
  309.  
  310.  If you are using STACKER.COM with the "/EMS" parameter, under
  311.  certain circumstances you might get the above error message.  To
  312.  get this message, your QEMM / Stacker configuration has to be as
  313.  follows.
  314.  
  315.  1. STACKER.COM is using the "/EMS" parameter which puts Stacker's
  316.      built-in cache into EMS.
  317.  
  318.  2. You are NOT using QEMM's "STEALTH" parameter.
  319.  
  320.  3. QEMM's LOADHI.COM driver is loading, from the COMPRESSED
  321.      Stacker drive, a driver or TSR into HIGH RAM, with the
  322.      LOADHI.SYS "SQUEEZEF" (Squeeze Frame) parameter. "SQUEEZEF"
  323.      uses the Page Frame temporarily, to give a driver or TSR enough
  324.      room to initialize.  Since ANY driver or TSR loading from the
  325.      COMPRESSED Stacker drive becomes an EMS user, and subsequently
  326.      uses the Page Frame at the same time as "SQUEEZEF", the two
  327.      become incompatible.  Hence, the error message above.
  328.  
  329.  To remedy this problem, you have a number of options:
  330.  
  331.  1. Use QEMM with the "STEALTH" parameter.  Since "STEALTH" uses
  332.      the Page Frame, "SQUEEZEF" does NOT work with it.  However, the
  333.      "SQUEEZET" (Squeeze Temp) parameter which temporarily uses
  334.      areas of HIGH RAM to give a driver or TSR enough room to
  335.      initialize does work.
  336.  
  337.  2. If you do not want to use STEALTH, the easiest remedy is to
  338.      rerun OPTIMIZE with the "/NF" parameter.  This tells OPTIMIZE
  339.      to NOT use the "/SQUEEZEF parameter.
  340.  
  341.  3. A final option would be to simply load all your drivers and
  342.      TSR's from the UNCOMPRESSED boot drive.  For instance, if you
  343.      are using Stacker with SSWAP.COM, and a sample line in your
  344.      AUTOEXEC.BAT file looks like the following:
  345.  
  346.      C:\MOUSE\MOUSE
  347.  
  348.      then you must change it to read:
  349.  
  350.      D:\MOUSE\MOUSE
  351.  
  352.      After SSWAP.COM has swapped your drive names, the D: drive is
  353.      your UNCOMPRESSED drive.  If you are loading a driver from the
  354.      CONFIG.SYS file, and SSWAP.COM is the last line, there is no
  355.      need to make any changes to that file.
  356.  
  357.  The suggestions included in this technote should take care of most
  358.  of the problems you are likely to encounter with either Stacker
  359.  version 2.01 or 3.0.
  360.  
  361.  ******************************************************************
  362.  *      Trademarks are property of their respective owners.       *
  363.  *   This and other technical notes may be available in updated   *
  364.  *     forms through Quarterdeck's standard support channels.     *
  365.  *          Copyright (C) 1995 Quarterdeck Corporation            *
  366.  ******************** E N D   O F   F I L E ***********************
  367.  
  368.  
  369.